﻿<%@ Page Language="C#"  EnableEventValidation="false" AutoEventWireup="true"
    CodeBehind="EmpJoinSummary.aspx.cs" Inherits="UI.ModEmployee.EmpJoinSummary" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>入职汇总</title>
<link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
    <script src="../JS/calendar.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="pagetop" class="pagetop">
        <div class="pagetopleft">
            入职汇总</div>
        <div class="pagetopright">
            日期<asp:TextBox ID="txtBtime" runat="server" CssClass="InputCss" Width="75px"  maxlength="10" onclick="setday(this,false)" onkeypress="return validateKey(this,false, getkeyCode(event));" style="ime-mode:Disabled;" ></asp:TextBox>
            至<asp:TextBox ID="txtEtime" runat="server" CssClass="InputCss" Width="75px"  maxlength="10" onclick="setday(this,false)" onkeypress="return validateKey(this,false, getkeyCode(event));" style="ime-mode:Disabled;" ></asp:TextBox>
            <asp:Button ID="btnEmSearch" runat="server" Text="查询" OnClick="btnEmSearch_Click"
                CssClass="ButtonCss" />
            <asp:Button ID="btnClear" runat="server" Text="清空" OnClick="btnClear_Click" CssClass="ButtonCss" />
            <asp:Button ID="btnPrint" runat="server" Text="打印" CssClass="ButtonCss" OnClick="btnPrint_Click" />
            <asp:Button ID="btnExcel" runat="server" Text="导出" CssClass="ButtonCss" OnClick="btnExcel_Click" />
           
        </div>
    </div>

    <asp:GridView ID="gvList" runat="server" DataKeyNames="EmpCode" Width="100%" AutoGenerateColumns="False"
        BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px"
        CellPadding="3" GridLines="Horizontal">
        <Columns>
            <asp:BoundField DataField="DeptName" HeaderText="部门名称" SortExpression="DeptName">
                <ItemStyle Width="90px" />
            </asp:BoundField>
            <asp:BoundField DataField="EmpCode" HeaderText="工号" SortExpression="EmpCode">
                <ItemStyle Width="90px" />
            </asp:BoundField>
            <asp:BoundField DataField="EmpName" HeaderText="员工姓名" SortExpression="EmpName">
                <ItemStyle Width="90px" />
            </asp:BoundField>
            <asp:BoundField DataField="EmpSex" HeaderText="性别" SortExpression="EmpSex">
                <ItemStyle Width="70px" />
            </asp:BoundField>
            <asp:BoundField DataField="DutyName" HeaderText="职务" SortExpression="DutyName">
                <ItemStyle Width="90px" />
            </asp:BoundField>
            <asp:BoundField DataField="JoinTime" HeaderText="入职时间" DataFormatString="{0:d}" SortExpression="JoinTime">
                <ItemStyle Width="100px" />
            </asp:BoundField>
            <asp:BoundField DataField="SecurityAmount" HeaderText="保证金" SortExpression="SecurityAmount">
                <ItemStyle Width="80px" />
            </asp:BoundField>
            <asp:BoundField DataField="Memo" HeaderText="备注" SortExpression="Memo">
                <ItemStyle Width="120px" />
            </asp:BoundField>
        </Columns>
        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
        <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
        <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
        <AlternatingRowStyle BackColor="#F7F7F7" />
    </asp:GridView>
     <div id="divAmount" class="amountLine">
    <asp:Label ID="lbAmount" runat="server" ></asp:Label>
    </div>
    </form>
</body>
</html>
